home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was processed as: LaTeX Document
(document/latex).
You can browse this item here: atan2.tex
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| LaTeX Document (document/latex)
| magic
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| LaTeX document text
| default
| |
99%
| file
| LaTeX document, ASCII text, with CR line terminators
| default
| |
100%
| checkBytes
| Printable ASCII
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| siegfried
| fmt/281 LaTeX (Subdocument)
| default
| |
100%
| detectItEasy
| Format: plain text[CR]
| default (weak)
|
|
id metadata |
---|
key | value |
---|
macFileType | [TEXT] |
macFileCreator | [ttxt] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 5c 73 65 63 74 69 6f 6e | 7b 61 74 61 6e 32 20 2d |\section|{atan2 -|
|00000010| 2d 2d 20 41 72 63 20 54 | 61 6e 67 65 6e 74 20 6f |-- Arc T|angent o|
|00000020| 66 20 52 61 74 69 6f 7d | 0d 5c 6c 61 62 65 6c 7b |f Ratio}|.\label{|
|00000030| 66 6e 3a 61 74 61 6e 32 | 7d 0d 5c 69 6e 64 65 78 |fn:atan2|}.\index|
|00000040| 7b 61 74 61 6e 32 28 29 | 7d 0d 5c 69 6e 64 65 78 |{atan2()|}.\index|
|00000050| 7b 61 72 63 20 74 61 6e | 67 65 6e 74 20 6f 66 20 |{arc tan|gent of |
|00000060| 72 61 74 69 6f 7d 0d 5c | 62 65 67 69 6e 7b 72 61 |ratio}.\|begin{ra|
|00000070| 69 6c 7d 0d 41 72 63 54 | 61 6e 32 20 3a 20 27 61 |il}.ArcT|an2 : 'a|
|00000080| 74 61 6e 32 27 20 27 28 | 27 20 28 28 20 53 63 61 |tan2' '(|' (( Sca|
|00000090| 6c 61 72 20 27 2c 27 20 | 53 63 61 6c 61 72 20 29 |lar ',' |Scalar )|
|000000a0| 20 7c 20 28 20 4d 61 74 | 72 69 78 20 27 2c 27 20 | | ( Mat|rix ',' |
|000000b0| 4d 61 74 72 69 78 20 29 | 29 20 27 29 27 20 3b 0d |Matrix )|) ')' ;.|
|000000c0| 5c 65 6e 64 7b 72 61 69 | 6c 7d 0d 0d 5c 76 65 72 |\end{rai|l}..\ver|
|000000d0| 62 2b 61 74 61 6e 32 2b | 20 72 65 74 75 72 6e 73 |b+atan2+| returns|
|000000e0| 20 74 68 65 20 61 72 63 | 20 74 61 6e 67 65 6e 74 | the arc| tangent|
|000000f0| 20 6f 66 20 74 68 65 20 | 72 65 73 75 6c 74 20 6f | of the |result o|
|00000100| 66 20 64 69 76 69 64 69 | 6e 67 0d 74 68 65 20 66 |f dividi|ng.the f|
|00000110| 69 72 73 74 20 61 72 67 | 75 6d 65 6e 74 20 62 79 |irst arg|ument by|
|00000120| 20 74 68 65 20 73 65 63 | 6f 6e 64 20 61 72 67 75 | the sec|ond argu|
|00000130| 6d 65 6e 74 2e 20 42 6f | 74 68 20 61 72 67 75 6d |ment. Bo|th argum|
|00000140| 65 6e 74 73 20 6d 75 73 | 74 20 62 65 0d 72 65 61 |ents mus|t be.rea|
|00000150| 6c 2e 20 20 54 68 69 73 | 20 73 68 6f 75 6c 64 20 |l. This| should |
|00000160| 62 65 20 61 74 20 6c 65 | 61 73 74 20 61 73 20 61 |be at le|ast as a|
|00000170| 63 63 75 72 61 74 65 20 | 61 73 2c 20 61 6e 64 20 |ccurate |as, and |
|00000180| 70 72 6f 62 61 62 6c 79 | 20 66 61 73 74 65 72 0d |probably| faster.|
|00000190| 74 68 61 6e 2c 20 70 65 | 72 66 6f 72 6d 69 6e 67 |than, pe|rforming|
|000001a0| 20 74 68 65 20 64 69 76 | 69 73 69 6f 6e 20 74 68 | the div|ision th|
|000001b0| 65 6e 20 75 73 69 6e 67 | 20 5c 76 65 72 62 2b 61 |en using| \verb+a|
|000001c0| 74 61 6e 2b 2e 20 20 54 | 68 65 20 72 65 73 75 6c |tan+. T|he resul|
|000001d0| 74 20 69 73 0d 65 78 70 | 72 65 73 73 65 64 20 69 |t is.exp|ressed i|
|000001e0| 6e 20 72 61 64 69 61 6e | 73 2c 20 69 6e 20 74 68 |n radian|s, in th|
|000001f0| 65 20 72 61 6e 67 65 20 | 24 5b 20 2d 5c 70 69 2c |e range |$[ -\pi,|
|00000200| 20 5c 70 69 20 5d 24 2e | 20 20 49 66 20 74 68 65 | \pi ]$.| If the|
|00000210| 20 61 72 67 75 6d 65 6e | 74 73 0d 61 72 65 20 6d | argumen|ts.are m|
|00000220| 61 74 72 69 63 69 65 73 | 2c 20 74 68 65 6e 20 74 |atricies|, then t|
|00000230| 68 65 79 20 6d 75 73 74 | 20 68 61 76 65 20 74 68 |hey must| have th|
|00000240| 65 20 73 61 6d 65 20 64 | 69 6d 65 6e 73 69 6f 6e |e same d|imension|
|00000250| 73 2c 20 61 6e 64 20 74 | 68 65 20 6f 70 65 72 61 |s, and t|he opera|
|00000260| 74 69 6f 6e 0d 69 73 20 | 70 65 72 66 6f 72 6d 65 |tion.is |performe|
|00000270| 64 20 65 6c 65 6d 65 6e | 74 2d 62 79 2d 65 6c 65 |d elemen|t-by-ele|
|00000280| 6d 65 6e 74 2e 0d 20 0d | 0d 5c 70 61 72 61 67 72 |ment.. .|.\paragr|
|00000290| 61 70 68 7b 45 78 61 6d | 70 6c 65 7d 0d 5c 69 6e |aph{Exam|ple}.\in|
|000002a0| 64 65 78 7b 65 78 61 6d | 70 6c 65 20 6f 66 20 61 |dex{exam|ple of a|
|000002b0| 74 61 6e 32 28 29 7d 0d | 5c 69 6e 64 65 78 7b 61 |tan2()}.|\index{a|
|000002c0| 74 61 6e 32 28 29 21 65 | 78 61 6d 70 6c 65 7d 0d |tan2()!e|xample}.|
|000002d0| 5c 62 65 67 69 6e 7b 76 | 65 72 62 61 74 69 6d 7d |\begin{v|erbatim}|
|000002e0| 0d 3e 20 61 74 61 6e 32 | 28 31 2c 32 29 0d 20 20 |.> atan2|(1,2). |
|000002f0| 20 20 30 2e 34 36 34 0d | 3e 20 61 74 61 6e 32 28 | 0.464.|> atan2(|
|00000300| 30 2c 32 29 0d 20 20 20 | 20 20 20 20 20 30 0d 3e |0,2). | 0.>|
|00000310| 20 61 74 61 6e 32 28 32 | 2c 30 29 0d 20 20 20 20 | atan2(2|,0). |
|00000320| 20 31 2e 35 37 0d 3e 20 | 61 74 61 6e 32 28 30 2c | 1.57.> |atan2(0,|
|00000330| 30 29 0d 20 20 20 20 20 | 20 20 20 30 0d 3e 20 62 |0). | 0.> b|
|00000340| 20 3d 20 72 61 6e 64 28 | 32 2c 35 29 0d 20 62 20 | = rand(|2,5). b |
|00000350| 3d 0d 20 20 20 20 20 20 | 20 20 31 20 20 20 20 20 |=. | 1 |
|00000360| 20 30 2e 36 34 37 20 20 | 20 20 20 30 2e 30 33 36 | 0.647 | 0.036|
|00000370| 39 20 20 20 20 20 20 30 | 2e 36 36 35 20 20 20 20 |9 0|.665 |
|00000380| 20 20 30 2e 32 30 34 20 | 20 0d 20 20 20 20 30 2e | 0.204 | . 0.|
|00000390| 39 37 35 20 20 20 20 20 | 20 30 2e 33 33 33 20 20 |975 | 0.333 |
|000003a0| 20 20 20 20 30 2e 31 36 | 32 20 20 20 20 20 30 2e | 0.16|2 0.|
|000003b0| 30 38 34 37 20 20 20 20 | 20 20 30 2e 31 36 37 20 |0847 | 0.167 |
|000003c0| 20 0d 3e 20 63 20 3d 20 | 72 61 6e 64 28 32 2c 35 | .> c = |rand(2,5|
|000003d0| 29 0d 20 63 20 3d 0d 20 | 20 20 20 30 2e 36 35 35 |). c =. | 0.655|
|000003e0| 20 20 20 20 20 20 20 30 | 2e 39 31 20 20 20 20 20 | 0|.91 |
|000003f0| 20 30 2e 32 39 39 20 20 | 20 20 20 20 20 20 30 2e | 0.299 | 0.|
|00000400| 37 20 20 20 20 20 30 2e | 30 39 31 38 20 20 0d 20 |7 0.|0918 . |
|00000410| 20 20 20 30 2e 31 32 39 | 20 20 20 20 20 20 30 2e | 0.129| 0.|
|00000420| 31 31 32 20 20 20 20 20 | 20 30 2e 32 36 35 20 20 |112 | 0.265 |
|00000430| 20 20 20 20 20 30 2e 39 | 35 20 20 20 20 20 20 30 | 0.9|5 0|
|00000440| 2e 39 30 32 20 20 0d 3e | 20 62 2e 2f 63 0d 20 20 |.902 .>| b./c. |
|00000450| 20 20 20 31 2e 35 33 20 | 20 20 20 20 20 30 2e 37 | 1.53 | 0.7|
|00000460| 31 31 20 20 20 20 20 20 | 30 2e 31 32 34 20 20 20 |11 |0.124 |
|00000470| 20 20 20 20 30 2e 39 35 | 20 20 20 20 20 20 20 32 | 0.95| 2|
|00000480| 2e 32 32 20 20 0d 20 20 | 20 20 20 37 2e 35 37 20 |.22 . | 7.57 |
|00000490| 20 20 20 20 20 20 32 2e | 39 38 20 20 20 20 20 20 | 2.|98 |
|000004a0| 30 2e 36 30 39 20 20 20 | 20 20 30 2e 30 38 39 31 |0.609 | 0.0891|
|000004b0| 20 20 20 20 20 20 30 2e | 31 38 35 20 20 0d 3e 20 | 0.|185 .> |
|000004c0| 61 74 61 6e 32 28 62 2c | 63 29 0d 20 20 20 20 30 |atan2(b,|c). 0|
|000004d0| 2e 39 39 31 20 20 20 20 | 20 20 30 2e 36 31 38 20 |.991 | 0.618 |
|000004e0| 20 20 20 20 20 30 2e 31 | 32 33 20 20 20 20 20 20 | 0.1|23 |
|000004f0| 20 30 2e 37 36 20 20 20 | 20 20 20 20 31 2e 31 35 | 0.76 | 1.15|
|00000500| 20 20 0d 20 20 20 20 20 | 31 2e 34 34 20 20 20 20 | . |1.44 |
|00000510| 20 20 20 31 2e 32 35 20 | 20 20 20 20 20 30 2e 35 | 1.25 | 0.5|
|00000520| 34 37 20 20 20 20 20 30 | 2e 30 38 38 39 20 20 20 |47 0|.0889 |
|00000530| 20 20 20 30 2e 31 38 33 | 0d 5c 65 6e 64 7b 76 65 | 0.183|.\end{ve|
|00000540| 72 62 61 74 69 6d 7d 0d | 0d 53 65 65 20 61 6c 73 |rbatim}.|.See als|
|00000550| 6f 3a 20 50 61 67 65 7e | 5c 70 61 67 65 72 65 66 |o: Page~|\pageref|
|00000560| 7b 66 6e 3a 61 63 6f 73 | 7d 20 5c 76 65 72 62 2b |{fn:acos|} \verb+|
|00000570| 61 63 6f 73 28 29 2b 2c | 0d 50 61 67 65 7e 5c 70 |acos()+,|.Page~\p|
|00000580| 61 67 65 72 65 66 7b 66 | 6e 3a 61 73 69 6e 7d 20 |ageref{f|n:asin} |
|00000590| 5c 76 65 72 62 2b 61 73 | 69 6e 28 29 2b 2c 0d 50 |\verb+as|in()+,.P|
|000005a0| 61 67 65 7e 5c 70 61 67 | 65 72 65 66 7b 66 6e 3a |age~\pag|eref{fn:|
|000005b0| 61 74 61 6e 7d 20 5c 76 | 65 72 62 2b 61 74 61 6e |atan} \v|erb+atan|
|000005c0| 28 29 2b 2c 0d 50 61 67 | 65 7e 5c 70 61 67 65 72 |()+,.Pag|e~\pager|
|000005d0| 65 66 7b 66 6e 3a 61 74 | 61 6e 68 7d 20 5c 76 65 |ef{fn:at|anh} \ve|
|000005e0| 72 62 2b 61 74 61 6e 68 | 28 29 2b 2c 0d 50 61 67 |rb+atanh|()+,.Pag|
|000005f0| 65 7e 5c 70 61 67 65 72 | 65 66 7b 66 6e 3a 74 61 |e~\pager|ef{fn:ta|
|00000600| 6e 7d 20 5c 76 65 72 62 | 2b 74 61 6e 28 29 2b 2e |n} \verb|+tan()+.|
|00000610| 0d 0d 5c 6e 65 77 70 61 | 67 65 20 0d 0d 0d 0d 0d |..\newpa|ge .....|
+--------+-------------------------+-------------------------+--------+--------+